@zonos/elements 1.3.124 → 1.3.125

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/dist/cjs/{cart-a2a94f35.js → cart-7e5608b4.js} +69 -1
  2. package/dist/cjs/index.cjs.js +7 -7
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{paypal-bf7d3c50.js → paypal-4c479f19.js} +1 -1
  5. package/dist/cjs/styles-d1e64fb9.js +16 -0
  6. package/dist/cjs/zonos-address_7.cjs.entry.js +9 -3
  7. package/dist/cjs/zonos-button_3.cjs.entry.js +2 -14
  8. package/dist/cjs/zonos-cart-items_13.cjs.entry.js +20 -3
  9. package/dist/cjs/zonos-checkout.cjs.entry.js +2 -2
  10. package/dist/cjs/zonos-controller.cjs.entry.js +7 -5
  11. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  12. package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
  13. package/dist/cjs/zonos-elements.cjs.js +1 -1
  14. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +1 -1
  15. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  16. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  17. package/dist/cjs/zonos-notification_3.cjs.entry.js +3 -3
  18. package/dist/cjs/zonos-text.cjs.entry.js +7 -3
  19. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +1 -1
  20. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +20 -2
  21. package/dist/collection/components/common/zonos-text/zonos-text.css +1 -1
  22. package/dist/collection/components/common/zonos-text/zonos-text.js +7 -3
  23. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +1 -1
  24. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +1 -1
  25. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +1 -1
  26. package/dist/collection/components/main/zonos-controller.js +6 -4
  27. package/dist/collection/components/store/checkout/cart.js +1 -1
  28. package/dist/collection/components/store/translationStore/strings.arabic.js +3 -0
  29. package/dist/collection/components/store/translationStore/strings.base.js +3 -0
  30. package/dist/collection/components/store/translationStore/strings.chinese.js +3 -0
  31. package/dist/collection/components/store/translationStore/strings.danish.js +3 -0
  32. package/dist/collection/components/store/translationStore/strings.dutch.js +3 -0
  33. package/dist/collection/components/store/translationStore/strings.french.js +3 -0
  34. package/dist/collection/components/store/translationStore/strings.german.js +3 -0
  35. package/dist/collection/components/store/translationStore/strings.hebrew.js +3 -0
  36. package/dist/collection/components/store/translationStore/strings.indonesian.js +3 -0
  37. package/dist/collection/components/store/translationStore/strings.italian.js +3 -0
  38. package/dist/collection/components/store/translationStore/strings.japanese.js +3 -0
  39. package/dist/collection/components/store/translationStore/strings.korean.js +3 -0
  40. package/dist/collection/components/store/translationStore/strings.norwegian.js +3 -0
  41. package/dist/collection/components/store/translationStore/strings.polish.js +3 -0
  42. package/dist/collection/components/store/translationStore/strings.portuguese.js +3 -0
  43. package/dist/collection/components/store/translationStore/strings.russian.js +3 -0
  44. package/dist/collection/components/store/translationStore/strings.spanish.js +3 -0
  45. package/dist/collection/components/store/translationStore/strings.swedish.js +3 -0
  46. package/dist/collection/components/store/translationStore/strings.turkish.js +3 -0
  47. package/dist/collection/components/store/translationStore/strings.vietnamese.js +3 -0
  48. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.css +4 -0
  49. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +45 -2
  50. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  51. package/dist/collection/styles/stripe/addressRuleStyle.js +9 -0
  52. package/dist/esm/{cart-7d97dbff.js → cart-65c7d5f1.js} +69 -1
  53. package/dist/esm/index.js +7 -7
  54. package/dist/esm/loader.js +1 -1
  55. package/dist/esm/{paypal-7264946a.js → paypal-cd96efa7.js} +1 -1
  56. package/dist/esm/styles-6fc2fad9.js +14 -0
  57. package/dist/esm/zonos-address_7.entry.js +9 -3
  58. package/dist/esm/zonos-button_3.entry.js +1 -13
  59. package/dist/esm/zonos-cart-items_13.entry.js +20 -3
  60. package/dist/esm/zonos-checkout.entry.js +2 -2
  61. package/dist/esm/zonos-controller.entry.js +7 -5
  62. package/dist/esm/zonos-country-flag.entry.js +1 -1
  63. package/dist/esm/zonos-country-select_4.entry.js +1 -1
  64. package/dist/esm/zonos-elements.js +1 -1
  65. package/dist/esm/zonos-hello-dialog.entry.js +1 -1
  66. package/dist/esm/zonos-hello.entry.js +1 -1
  67. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  68. package/dist/esm/zonos-notification_3.entry.js +3 -3
  69. package/dist/esm/zonos-text.entry.js +8 -4
  70. package/dist/esm-es5/cart-65c7d5f1.js +1 -0
  71. package/dist/esm-es5/index.js +1 -1
  72. package/dist/esm-es5/loader.js +1 -1
  73. package/dist/esm-es5/{paypal-7264946a.js → paypal-cd96efa7.js} +1 -1
  74. package/dist/esm-es5/styles-6fc2fad9.js +1 -0
  75. package/dist/esm-es5/zonos-address_7.entry.js +1 -1
  76. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  77. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  78. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  79. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  80. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  81. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  82. package/dist/esm-es5/zonos-elements.js +1 -1
  83. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  84. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  85. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  86. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  87. package/dist/esm-es5/zonos-text.entry.js +1 -1
  88. package/dist/scripts/index.d.ts +31 -1
  89. package/dist/scripts/index.js +1 -1
  90. package/dist/scripts/loadZonos.js +1 -1
  91. package/dist/scripts/zonos.js +1 -1
  92. package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +5 -0
  93. package/dist/types/components/store/checkout/cart.d.ts +1 -1
  94. package/dist/types/components/store/translationStore/strings.arabic.d.ts +3 -0
  95. package/dist/types/components/store/translationStore/strings.base.d.ts +3 -0
  96. package/dist/types/components/store/translationStore/strings.chinese.d.ts +3 -0
  97. package/dist/types/components/store/translationStore/strings.danish.d.ts +3 -0
  98. package/dist/types/components/store/translationStore/strings.dutch.d.ts +3 -0
  99. package/dist/types/components/store/translationStore/strings.french.d.ts +3 -0
  100. package/dist/types/components/store/translationStore/strings.german.d.ts +3 -0
  101. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +3 -0
  102. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +3 -0
  103. package/dist/types/components/store/translationStore/strings.italian.d.ts +3 -0
  104. package/dist/types/components/store/translationStore/strings.japanese.d.ts +3 -0
  105. package/dist/types/components/store/translationStore/strings.korean.d.ts +3 -0
  106. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +3 -0
  107. package/dist/types/components/store/translationStore/strings.polish.d.ts +3 -0
  108. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +3 -0
  109. package/dist/types/components/store/translationStore/strings.russian.d.ts +3 -0
  110. package/dist/types/components/store/translationStore/strings.spanish.d.ts +3 -0
  111. package/dist/types/components/store/translationStore/strings.swedish.d.ts +3 -0
  112. package/dist/types/components/store/translationStore/strings.turkish.d.ts +3 -0
  113. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +3 -0
  114. package/dist/types/components/store/translationStore.d.ts +1 -1
  115. package/dist/types/components/store/zonosStore.d.ts +3 -0
  116. package/dist/types/components/stripe/zonos-link-authentication/zonos-link-authentication.d.ts +9 -0
  117. package/dist/types/components.d.ts +27 -0
  118. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  119. package/dist/zonos-elements/index.esm.js +1 -1
  120. package/dist/zonos-elements/{p-8e833a0c.system.js → p-0ceb45a9.system.js} +1 -1
  121. package/dist/zonos-elements/{p-8b1f00a6.entry.js → p-139fd9b9.entry.js} +1 -1
  122. package/dist/zonos-elements/{p-1a7975a6.entry.js → p-148e7eb7.entry.js} +1 -1
  123. package/dist/zonos-elements/{p-68f30f18.system.entry.js → p-14c67ae2.system.entry.js} +1 -1
  124. package/dist/zonos-elements/p-1aa93d1e.system.js +1 -0
  125. package/dist/zonos-elements/{p-6cc6c6c4.entry.js → p-1d1c3377.entry.js} +1 -1
  126. package/dist/zonos-elements/{p-8dd3b09d.system.entry.js → p-21970d09.system.entry.js} +1 -1
  127. package/dist/zonos-elements/p-30476a6b.entry.js +1 -0
  128. package/dist/zonos-elements/{p-a17ebf04.system.entry.js → p-4161a0f2.system.entry.js} +1 -1
  129. package/dist/zonos-elements/{p-073bcd19.system.entry.js → p-4a3c1449.system.entry.js} +1 -1
  130. package/dist/zonos-elements/{p-4afde7ca.system.entry.js → p-4c6033ed.system.entry.js} +1 -1
  131. package/dist/zonos-elements/p-4c64f0ea.system.entry.js +1 -0
  132. package/dist/zonos-elements/{p-71a733d4.system.entry.js → p-56370c8b.system.entry.js} +1 -1
  133. package/dist/zonos-elements/p-80a4d1e0.system.js +1 -0
  134. package/dist/zonos-elements/p-96d77739.js +1 -0
  135. package/dist/zonos-elements/{p-db6be6ab.system.js → p-988b6d65.system.js} +1 -1
  136. package/dist/zonos-elements/{p-2763b93b.entry.js → p-a435037c.entry.js} +1 -1
  137. package/dist/zonos-elements/{p-9c7618b3.system.entry.js → p-a7c24425.system.entry.js} +1 -1
  138. package/dist/zonos-elements/p-ada1c7b6.entry.js +1 -0
  139. package/dist/zonos-elements/{p-c8f24421.entry.js → p-b2247065.entry.js} +1 -1
  140. package/dist/zonos-elements/p-b2262a9c.entry.js +1 -0
  141. package/dist/zonos-elements/{p-d2ca12ed.entry.js → p-bb53bce8.entry.js} +1 -1
  142. package/dist/zonos-elements/p-c6f74e2c.js +1 -0
  143. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  144. package/dist/zonos-elements/{p-ab4d2507.system.entry.js → p-d13f3ea0.system.entry.js} +1 -1
  145. package/dist/zonos-elements/{p-e23684e2.system.entry.js → p-daba3f99.system.entry.js} +1 -1
  146. package/dist/zonos-elements/{p-8138eb01.entry.js → p-e19034a3.entry.js} +1 -1
  147. package/dist/zonos-elements/{p-3251fb8b.entry.js → p-f0b32dd6.entry.js} +1 -1
  148. package/dist/zonos-elements/{p-9368629a.js → p-f8827566.js} +1 -1
  149. package/dist/zonos-elements/p-f8c7bc1d.entry.js +1 -0
  150. package/dist/zonos-elements/p-fe855df9.system.entry.js +1 -0
  151. package/dist/zonos-elements/{p-02c97b12.system.entry.js → p-fff6e3d9.system.entry.js} +1 -1
  152. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  153. package/package.json +1 -1
  154. package/dist/esm-es5/cart-7d97dbff.js +0 -1
  155. package/dist/zonos-elements/p-069a1891.entry.js +0 -1
  156. package/dist/zonos-elements/p-78adf768.js +0 -1
  157. package/dist/zonos-elements/p-8333a565.entry.js +0 -1
  158. package/dist/zonos-elements/p-861ed8e9.entry.js +0 -1
  159. package/dist/zonos-elements/p-86f0d69c.system.entry.js +0 -1
  160. package/dist/zonos-elements/p-d1a3fa94.system.entry.js +0 -1
  161. package/dist/zonos-elements/p-ebb97202.entry.js +0 -1
  162. package/dist/zonos-elements/p-f399a2e5.system.js +0 -1
@@ -228,6 +228,9 @@ const stringsArabic = {
228
228
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
229
229
  value: 'يرجى التأكد من أن نصك يستخدم الأبجدية اللاتينية فقط (A-Z, a-z).',
230
230
  },
231
+ 'Please enter a valid email address.': {
232
+ value: 'يرجى إدخال عنوان بريد إلكتروني صالح.',
233
+ },
231
234
  'Postal code': {
232
235
  value: 'الرمز البريدي',
233
236
  },
@@ -648,6 +651,9 @@ const stringsBase = {
648
651
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
649
652
  value: 'Please ensure your text uses the Latin alphabet only (A-Z, a-z).',
650
653
  },
654
+ 'Please enter a valid email address.': {
655
+ value: 'Please enter a valid email address.',
656
+ },
651
657
  'Postal code': {
652
658
  value: 'Postal code',
653
659
  },
@@ -1068,6 +1074,9 @@ const stringsChinese = {
1068
1074
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
1069
1075
  value: '请确保您的文本仅使用拉丁字母表(A-Z, a-z)。',
1070
1076
  },
1077
+ 'Please enter a valid email address.': {
1078
+ value: '请输入有效的电子邮件地址。',
1079
+ },
1071
1080
  'Postal code': {
1072
1081
  value: '邮政编码',
1073
1082
  },
@@ -1488,6 +1497,9 @@ const stringsDanish = {
1488
1497
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
1489
1498
  value: 'Sørg venligst for, at din tekst kun bruger det latinske alfabet (A-Z, a-z).',
1490
1499
  },
1500
+ 'Please enter a valid email address.': {
1501
+ value: 'Indtast venligst en gyldig e-mailadresse.',
1502
+ },
1491
1503
  'Postal code': {
1492
1504
  value: 'Postnummer',
1493
1505
  },
@@ -1908,6 +1920,9 @@ const stringsDutch = {
1908
1920
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
1909
1921
  value: 'Zorg ervoor dat uw tekst alleen het Latijnse alfabet gebruikt (A-Z, a-z).',
1910
1922
  },
1923
+ 'Please enter a valid email address.': {
1924
+ value: 'Voer een geldig e-mailadres in.',
1925
+ },
1911
1926
  'Postal code': {
1912
1927
  value: 'Postcode',
1913
1928
  },
@@ -2328,6 +2343,9 @@ const stringsFrench = {
2328
2343
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
2329
2344
  value: "Veuillez vous assurer que votre texte utilise uniquement l'alphabet latin (A-Z, a-z).",
2330
2345
  },
2346
+ 'Please enter a valid email address.': {
2347
+ value: 'Veuillez entrer une adresse e-mail valide.',
2348
+ },
2331
2349
  'Postal code': {
2332
2350
  value: 'Code postal',
2333
2351
  },
@@ -2748,6 +2766,9 @@ const stringsGerman = {
2748
2766
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
2749
2767
  value: 'Bitte stellen Sie sicher, dass Ihr Text nur das lateinische Alphabet verwendet (A-Z, a-z).',
2750
2768
  },
2769
+ 'Please enter a valid email address.': {
2770
+ value: 'Bitte geben Sie eine gültige E-Mail-Adresse ein.',
2771
+ },
2751
2772
  'Postal code': {
2752
2773
  value: 'Postleitzahl',
2753
2774
  },
@@ -3168,6 +3189,9 @@ const stringsHebrew = {
3168
3189
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
3169
3190
  value: 'אנא ודא שהטקסט שלך משתמש באלפבית הלטיני בלבד (A-Z, a-z).',
3170
3191
  },
3192
+ 'Please enter a valid email address.': {
3193
+ value: 'אנא הזן כתובת דוא"ל חוקית.',
3194
+ },
3171
3195
  'Postal code': {
3172
3196
  value: 'מיקוד',
3173
3197
  },
@@ -3588,6 +3612,9 @@ const stringsIndonesian = {
3588
3612
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
3589
3613
  value: 'Harap pastikan teks Anda hanya menggunakan alfabet Latin (A-Z, a-z).',
3590
3614
  },
3615
+ 'Please enter a valid email address.': {
3616
+ value: 'Silakan masukkan alamat email yang valid.',
3617
+ },
3591
3618
  'Postal code': {
3592
3619
  value: 'Kode Pos',
3593
3620
  },
@@ -4008,6 +4035,9 @@ const stringsItalian = {
4008
4035
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
4009
4036
  value: "Si prega di assicurarsi che il testo utilizzi solo l'alfabeto latino (A-Z, a-z).",
4010
4037
  },
4038
+ 'Please enter a valid email address.': {
4039
+ value: 'Per favore, inserisci un indirizzo email valido.',
4040
+ },
4011
4041
  'Postal code': {
4012
4042
  value: 'Codice postale',
4013
4043
  },
@@ -4428,6 +4458,9 @@ const stringsJapanese = {
4428
4458
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
4429
4459
  value: 'テキストがラテンアルファベットのみを使用していることを確認してください(A-Z、a-z)。',
4430
4460
  },
4461
+ 'Please enter a valid email address.': {
4462
+ value: '有効なメールアドレスを入力してください。',
4463
+ },
4431
4464
  'Postal code': {
4432
4465
  value: '郵便番号',
4433
4466
  },
@@ -4848,6 +4881,9 @@ const stringsKorean = {
4848
4881
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
4849
4882
  value: '텍스트가 라틴 알파벳만 사용하는지 확인해 주세요 (A-Z, a-z).',
4850
4883
  },
4884
+ 'Please enter a valid email address.': {
4885
+ value: '유효한 이메일 주소를 입력하세요.',
4886
+ },
4851
4887
  'Postal code': {
4852
4888
  value: '우편 번호',
4853
4889
  },
@@ -5268,6 +5304,9 @@ const stringsNorwegian = {
5268
5304
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
5269
5305
  value: 'Vennligst sørg for at teksten din kun bruker det latinske alfabetet (A-Z, a-z).',
5270
5306
  },
5307
+ 'Please enter a valid email address.': {
5308
+ value: 'Vennligst skriv inn en gyldig e-postadresse.',
5309
+ },
5271
5310
  'Postal code': {
5272
5311
  value: 'Postnummer',
5273
5312
  },
@@ -5688,6 +5727,9 @@ const stringsPolish = {
5688
5727
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
5689
5728
  value: 'Proszę upewnić się, że tekst używa tylko alfabetu łacińskiego (A-Z, a-z).',
5690
5729
  },
5730
+ 'Please enter a valid email address.': {
5731
+ value: 'Proszę wprowadzić prawidłowy adres e-mail.',
5732
+ },
5691
5733
  'Postal code': {
5692
5734
  value: 'Kod pocztowy',
5693
5735
  },
@@ -6108,6 +6150,9 @@ const stringsPortuguese = {
6108
6150
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
6109
6151
  value: 'Por favor, certifique-se de que seu texto utilize apenas o alfabeto latino (A-Z, a-z).',
6110
6152
  },
6153
+ 'Please enter a valid email address.': {
6154
+ value: 'Por favor, insira um endereço de e-mail válido.',
6155
+ },
6111
6156
  'Postal code': {
6112
6157
  value: 'Código Postal',
6113
6158
  },
@@ -6528,6 +6573,9 @@ const stringsRussian = {
6528
6573
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
6529
6574
  value: 'Пожалуйста, убедитесь, что ваш текст использует только латинский алфавит (A-Z, a-z).',
6530
6575
  },
6576
+ 'Please enter a valid email address.': {
6577
+ value: 'Пожалуйста, введите действительный адрес электронной почты.',
6578
+ },
6531
6579
  'Postal code': {
6532
6580
  value: 'Почтовый индекс',
6533
6581
  },
@@ -6948,6 +6996,9 @@ const stringsSpanish = {
6948
6996
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
6949
6997
  value: 'Por favor, asegúrese de que su texto use solo el alfabeto latino (A-Z, a-z).',
6950
6998
  },
6999
+ 'Please enter a valid email address.': {
7000
+ value: 'Por favor, introduce una dirección de correo electrónico válida.',
7001
+ },
6951
7002
  'Postal code': {
6952
7003
  value: 'Código postal',
6953
7004
  },
@@ -7368,6 +7419,9 @@ const stringsSwedish = {
7368
7419
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
7369
7420
  value: 'Vänligen se till att din text endast använder det latinska alfabetet (A-Z, a-z).',
7370
7421
  },
7422
+ 'Please enter a valid email address.': {
7423
+ value: 'Vänligen ange en giltig e-postadress.',
7424
+ },
7371
7425
  'Postal code': {
7372
7426
  value: 'Postnummer',
7373
7427
  },
@@ -7788,6 +7842,9 @@ const stringsTurkish = {
7788
7842
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
7789
7843
  value: 'Lütfen metninizin sadece Latin alfabesini kullandığından emin olun (A-Z, a-z).',
7790
7844
  },
7845
+ 'Please enter a valid email address.': {
7846
+ value: 'Lütfen geçerli bir e-posta adresi girin.',
7847
+ },
7791
7848
  'Postal code': {
7792
7849
  value: 'Posta kodu',
7793
7850
  },
@@ -8208,6 +8265,9 @@ const stringsVietnamese = {
8208
8265
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
8209
8266
  value: 'Vui lòng đảm bảo rằng văn bản của bạn chỉ sử dụng bảng chữ cái Latinh (A-Z, a-z).',
8210
8267
  },
8268
+ 'Please enter a valid email address.': {
8269
+ value: 'Vui lòng nhập địa chỉ email hợp lệ.',
8270
+ },
8211
8271
  'Postal code': {
8212
8272
  value: 'Mã bưu điện',
8213
8273
  },
@@ -9552,6 +9612,9 @@ const addressRuleStyle = ({ theme, }) => {
9552
9612
  },
9553
9613
  '.Input': {
9554
9614
  boxShadow: 'none',
9615
+ fontSize: zonosStore.zonosStore.appearance.fontSizeInputValue
9616
+ ? `${zonosStore.zonosStore.appearance.fontSizeInputValue}px`
9617
+ : undefined,
9555
9618
  // need to reset everything and the paddingTop to default, otherwise the paddingTop will not be updated.
9556
9619
  padding: '0',
9557
9620
  paddingBottom: '8px',
@@ -9560,6 +9623,11 @@ const addressRuleStyle = ({ theme, }) => {
9560
9623
  // any value here will be add up to the default paddingTop (20px).
9561
9624
  paddingTop: '6px',
9562
9625
  },
9626
+ '.Label--resting': {
9627
+ fontSize: zonosStore.zonosStore.appearance.fontSizeInputLabel
9628
+ ? `${zonosStore.zonosStore.appearance.fontSizeInputLabel}px`
9629
+ : undefined,
9630
+ },
9563
9631
  '.PickerItem--highlight': {
9564
9632
  boxShadow: '0 0 0 2px var(--colorBackground)',
9565
9633
  },
@@ -10337,7 +10405,7 @@ const { onChange, reset, state: cartStore, } = zonosStore.createStore(() => ({
10337
10405
  shipping: {
10338
10406
  index: 2,
10339
10407
  isDone: false,
10340
- label: 'Delivery',
10408
+ label: 'Shipping',
10341
10409
  value: 'shipping',
10342
10410
  },
10343
10411
  // eslint-disable-next-line sort-keys/sort-keys-fix
@@ -97,7 +97,7 @@ const getZonosQaUrl = () => {
97
97
  return null;
98
98
  }
99
99
  const qaUrl = extractZonosQaUrl(window.location.href);
100
- const cdnUrl = "https://v1.3.124.js.zonos.com";
100
+ const cdnUrl = "https://v1.3.125.js.zonos.com";
101
101
  // when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
102
102
  if (!qaUrl &&
103
103
  (cdnUrl.includes('test.') ||
@@ -281,10 +281,10 @@ const zonosLoadUrl = (() => {
281
281
  }
282
282
  return null;
283
283
  })();
284
- const ZONOS_URL = "https://v1.3.124.js.zonos.com";
285
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.124";
286
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.124";
287
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.124";
284
+ const ZONOS_URL = "https://v1.3.125.js.zonos.com";
285
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.125";
286
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.125";
287
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.125";
288
288
  const INTER_FONT_URL = 'https://rsms.me';
289
289
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
290
290
  const INTER_FONT_REGEX = /^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;
@@ -299,7 +299,7 @@ Zonos.zonosConversionTest = typeof window !== 'undefined' &&
299
299
  !!window.location.search.match(/\?.*(&*)zonosConversionTest/);
300
300
  Zonos._paypalMockResponse = null;
301
301
  Zonos.isBigCommerce = false;
302
- Zonos.releaseDate = "1730994388117";
302
+ Zonos.releaseDate = "1731090000621";
303
303
  Zonos.isLegacyCheckout = false;
304
304
  Zonos.showBaseForeign = typeof window !== 'undefined' &&
305
305
  window.location.search.includes('zonosShowBaseForeign');
@@ -309,7 +309,7 @@ Zonos.showBaseForeign = typeof window !== 'undefined' &&
309
309
  Zonos.isNpm = true;
310
310
  Zonos.zonosQaUrl = null;
311
311
  Zonos.zonosQaUrlApi = null;
312
- Zonos.version = `v${"1.3.124"}`;
312
+ Zonos.version = `v${"1.3.125"}`;
313
313
  Zonos.modeAlerted = false;
314
314
  Zonos.cartData = null;
315
315
  Zonos.paypal = null;
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-3a1e7e63.js');
8
8
  const defineCustomElements = async (win, options) => {
9
9
  if (typeof window === 'undefined') return undefined;
10
10
  await appGlobals.globalScripts();
11
- return index.bootstrapLazy(JSON.parse("[[\"zonos-checkout.cjs\",[[2,\"zonos-checkout\",{\"appearanceSettingsOverride\":[16],\"preview\":[4],\"mobile\":[4],\"defaultAddress\":[16],\"forceDialogOpen\":[4,\"force-dialog-open\"],\"open\":[32],\"stripe\":[32],\"submitLoading\":[32],\"collapseReviewMobile\":[32],\"isAttachError\":[32],\"isMobile\":[32],\"isIframed\":[32],\"zonosReviewRef\":[32],\"storybookPaymentStatusOverride\":[32],\"isLegacyCheckout\":[32],\"confirmDialogOpen\":[32],\"inventoryCheckErrorMessage\":[32],\"placedOrderInfo\":[32],\"closeDialogHandler\":[64],\"init\":[64],\"setToFinishStep\":[64],\"mockCheckoutSession\":[64]},[[16,\"zonos--init-cart-info\",\"initCartInfoHandler\"],[4,\"keydown\",\"handleKeyPress\"],[9,\"resize\",\"handleWindowResize\"]],{\"appearanceSettingsOverride\":[\"appearanceSettingsOverrideChanged\",\"handleAppearanceSettingsOverrideChange\"],\"mobile\":[\"handleMobileChange\"],\"defaultAddress\":[\"handleAddressChange\"]}]]],[\"zonos-hello.cjs\",[[1,\"zonos-hello\",{\"mobileLocationOverride\":[1,\"mobile-location-override\"],\"animateFromLeftOverride\":[4,\"animate-from-left-override\"],\"appearanceSettingsOverride\":[16],\"showPeekMessage\":[32],\"zonosStoreHelloSettings\":[32],\"showDialog\":[32],\"peekMessage\":[32],\"initialUrl\":[32],\"allRestrictedItems\":[32],\"allFoundProducts\":[32],\"productsOnPage\":[32],\"isHelloWidgetRendered\":[32],\"isMobile\":[32],\"getCountryList\":[64],\"displayCurrency\":[64],\"convertAndFormat\":[64],\"convert\":[64],\"format\":[64],\"openHelloDialog\":[64]},[[9,\"resize\",\"handleResize\"]],{\"appearanceSettingsOverride\":[\"handleAppearanceSettingsOverrideChange\"]}]]],[\"zonos-controller.cjs\",[[1,\"zonos-controller\",{\"config\":[16],\"zonosApiKey\":[1,\"zonos-api-key\"],\"initCheckoutElement\":[64],\"setupGoogleFont\":[64],\"showNotification\":[64],\"reset\":[64],\"overrideConfig\":[64],\"overrideCountry\":[64],\"getAppearanceSetting\":[64],\"updateOrganizationName\":[64]},[[8,\"locationchange\",\"handleLocationChange\"]]]]],[\"zonos-tooltip.cjs\",[[1,\"zonos-tooltip\",{\"label\":[1],\"subtitle\":[1],\"showTooltip\":[32]}]]],[\"zonos-component.cjs\",[[1,\"zonos-component\",{\"first\":[1],\"middle\":[1],\"last\":[1]}]]],[\"zonos-link.cjs\",[[1,\"zonos-link\",{\"href\":[1],\"rel\":[1],\"target\":[1],\"linkTitle\":[1,\"link-title\"]}]]],[\"zonos-logo.cjs\",[[1,\"zonos-logo\",{\"theme\":[1],\"width\":[1]}]]],[\"zonos-hello-dialog.cjs\",[[1,\"zonos-hello-dialog\",{\"isOpen\":[4,\"is-open\"],\"setIsOpen\":[16],\"mobileLocationOverride\":[1,\"mobile-location-override\"],\"animateFromLeftOverride\":[4,\"animate-from-left-override\"],\"appearanceSettings\":[16],\"restrictedItems\":[16],\"welcomeMessage\":[32],\"showCountrySelect\":[32],\"showLanguageSelect\":[32]},[[4,\"click\",\"globalClickHandler\"]],{\"isOpen\":[\"isOpenHandler\"]}]]],[\"zonos-badge.cjs\",[[1,\"zonos-badge\",{\"bold\":[4],\"badgeColor\":[1,\"badge-color\"],\"icon\":[16],\"iconRight\":[4,\"icon-right\"],\"size\":[1],\"rounded\":[4],\"loading\":[4],\"dismissHandler\":[16]}]]],[\"zonos-shipping-rich-radio.cjs\",[[1,\"zonos-shipping-rich-radio\",{\"items\":[16],\"borderColor\":[1,\"border-color\"],\"borderStyle\":[1,\"border-style\"],\"theme\":[1],\"selectedItem\":[16]}]]],[\"zonos-toggle.cjs\",[[1,\"zonos-toggle\",{\"options\":[16],\"value\":[1]}]]],[\"zonos-collapse.cjs\",[[1,\"zonos-collapse\",{\"collapsed\":[4],\"collapseSize\":[2,\"collapse-size\"],\"height\":[32],\"iframe\":[32]}]]],[\"zonos-card.cjs\",[[1,\"zonos-card\",{\"actions\":[16],\"backgroundColor\":[1,\"background-color\"],\"borderRadius\":[2,\"border-radius\"],\"footerActions\":[16],\"footerContent\":[16],\"footerHeight\":[2,\"footer-height\"],\"label\":[16],\"spacing\":[1]}]]],[\"zonos-input.cjs\",[[1,\"zonos-input\",{\"inputValue\":[1,\"input-value\"],\"inputLabel\":[1,\"input-label\"],\"inputSize\":[1,\"input-size\"],\"isDisabled\":[4,\"is-disabled\"],\"isError\":[4,\"is-error\"],\"inputPlaceholder\":[1,\"input-placeholder\"],\"value\":[32]},null,{\"inputValue\":[\"onInputValueChange\"]}]]],[\"zonos-notification_3.cjs\",[[2,\"zonos-payment\",{\"titleText\":[1,\"title-text\"],\"stripe\":[32],\"stripeElements\":[32]},null,{\"stripeElements\":[\"watchInitStripe\"],\"stripe\":[\"watchInitStripe\"]}],[2,\"zonos-paypal-payment\"],[1,\"zonos-notification\",{\"notificationArray\":[32],\"showNotification\":[64]}]]],[\"zonos-banner.cjs\",[[1,\"zonos-banner\",{\"bannerTitle\":[1,\"banner-title\"],\"intent\":[1],\"hasContent\":[32]}]]],[\"zonos-country-flag.cjs\",[[1,\"zonos-country-flag\",{\"countryCode\":[1,\"country-code\"],\"size\":[2]}]]],[\"zonos-v-stack.cjs\",[[1,\"zonos-v-stack\",{\"spacing\":[2]}]]],[\"zonos-text.cjs\",[[1,\"zonos-text\",{\"textColor\":[1,\"text-color\"],\"size\":[1],\"type\":[1],\"weight\":[2],\"ready\":[32]}]]],[\"zonos-button_3.cjs\",[[17,\"zonos-button\",{\"buttonColor\":[1,\"button-color\"],\"backgroundColor\":[1,\"background-color\"],\"borderStyle\":[1,\"border-style\"],\"isDisabled\":[4,\"is-disabled\"],\"icon\":[16],\"iconRight\":[4,\"icon-right\"],\"size\":[1],\"variant\":[1],\"noBackground\":[4,\"no-background\"],\"withBoxShadow\":[4,\"with-box-shadow\"],\"noPaddingLeft\":[4,\"no-padding-left\"],\"noPaddingRight\":[4,\"no-padding-right\"],\"loading\":[4],\"justifyContent\":[1,\"justify-content\"],\"theme\":[1],\"hasIcon\":[32],\"hasContent\":[32]},[[2,\"click\",\"clickHandler\"]],{\"icon\":[\"iconChangeHandler\"]}],[1,\"zonos-spinner\",{\"size\":[2],\"spinnerColor\":[1,\"spinner-color\"]}],[1,\"zonos-icon\",{\"autoHeight\":[4,\"auto-height\"],\"iconColor\":[1,\"icon-color\"],\"content\":[1],\"size\":[2]}]]],[\"zonos-language-select_2.cjs\",[[1,\"zonos-language-select\",{\"handleOnClose\":[16]}],[1,\"zonos-select-dialog-header\",{\"handleOnClose\":[16],\"label\":[1]}]]],[\"zonos-country-select_4.cjs\",[[1,\"zonos-country-select\",{\"handleOnClose\":[16],\"inputValue\":[32]}],[1,\"zonos-hello-dialog-footer\",{\"appearanceSettings\":[16],\"setShowCountrySelect\":[16],\"setShowLanguageSelect\":[16]}],[1,\"zonos-custom-message\",{\"icon\":[1],\"message\":[1]}],[2,\"zonos-virtual-scroll\",{\"renderItem\":[16],\"itemWidth\":[2,\"item-width\"],\"fallbackItemHeight\":[2,\"fallback-item-height\"],\"itemHeights\":[16],\"container\":[32],\"scrollTop\":[32],\"totalHeight\":[32]},null,{\"itemHeights\":[\"updateTotalHeight\"],\"fallbackItemHeight\":[\"updateTotalHeight\"]}]]],[\"zonos-address_7.cjs\",[[1,\"zonos-address-update-dialog\",{\"continueLoading\":[4,\"continue-loading\"],\"dialogLoading\":[4,\"dialog-loading\"],\"dialogOpen\":[4,\"dialog-open\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"isMobile\":[4,\"is-mobile\"],\"shippingAddress\":[16],\"billingAddress\":[16],\"translatedShippingAddress\":[16],\"translatedBillingAddress\":[16],\"showErrorBanner\":[32],\"translatedShippingAddressState\":[32],\"translatedBillingAddressState\":[32]},null,{\"translatedShippingAddress\":[\"watchTranslatedShippingAddress\"],\"translatedBillingAddress\":[\"watchTranslatedBillingAddress\"]}],[2,\"zonos-address\",{\"type\":[1],\"titleText\":[1,\"title-text\"],\"defaultAddress\":[16],\"stripe\":[32],\"isDirtyAddress\":[32]},null,{\"stripe\":[\"watchInitStripe\"]}],[1,\"zonos-checkbox\",{\"backgroundColor\":[1,\"background-color\"],\"label\":[1],\"isChecked\":[4,\"is-checked\"],\"isDisabled\":[4,\"is-disabled\"],\"size\":[2],\"fontSize\":[1,\"font-size\"],\"borderStyle\":[1,\"border-style\"]},[[1,\"click\",\"onClick\"]]],[2,\"zonos-link-authentication\",{\"titleText\":[1,\"title-text\"],\"defaultEmail\":[1,\"default-email\"],\"stripe\":[32]},null,{\"stripe\":[\"watchInitStripe\"]}],[1,\"zonos-dialog\",{\"open\":[4],\"headerText\":[1,\"header-text\"],\"width\":[1],\"height\":[1],\"minHeight\":[1,\"min-height\"],\"noHeader\":[4,\"no-header\"],\"noBodyPadding\":[4,\"no-body-padding\"],\"noBorder\":[4,\"no-border\"],\"borderStyle\":[1,\"border-style\"],\"noCloseButton\":[4,\"no-close-button\"],\"noClickOutside\":[4,\"no-click-outside\"],\"mobile\":[4],\"isLoading\":[4,\"is-loading\"],\"isMobile\":[32]},[[9,\"resize\",\"handleWindowResize\"],[4,\"keydown\",\"handleKeyDown\"]]],[1,\"zonos-address-display\",{\"currentAddress\":[16],\"addressType\":[1,\"address-type\"]}],[1,\"zonos-address-form\",{\"currentAddress\":[16],\"translatedAddress\":[16],\"addressType\":[1,\"address-type\"],\"localAddress\":[32]},null,{\"translatedAddress\":[\"watchCurrentAddress\"]}]]],[\"zonos-cart-items_13.cjs\",[[2,\"zonos-customer-info\",{\"continueLoading\":[4,\"continue-loading\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"isMobile\":[4,\"is-mobile\"],\"defaultAddress\":[16],\"showErrorBanner\":[32],\"shippingCountry\":[32],\"isCheckingForRestrictedItems\":[32],\"isValidatingAddress\":[32],\"invalidShippingCharacterList\":[32],\"invalidBillingCharacterList\":[32],\"openAddressValidationDialog\":[32]}],[2,\"zonos-checkout-payment\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"showErrorBanner\":[32]}],[1,\"zonos-checkout-footer\",{\"mobile\":[4],\"dataTheme\":[1,\"data-theme\"],\"showLanguageDialog\":[32],\"isMobile\":[32]},[[4,\"click\",\"handleGlobalClick\"]],{\"mobile\":[\"handleMobileChange\"]}],[2,\"zonos-shipping\",{\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"selectedShippingMethod\":[32],\"collapsedDAPOptions\":[32],\"isSelecting\":[32],\"showErrorBanner\":[32],\"serviceLevelsDDP\":[32],\"serviceLevelsDAP\":[32],\"serviceLevelsOther\":[32],\"serviceLevelsAll\":[32],\"displayBaseCurrency\":[32]}],[1,\"zonos-cart-subtotal\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"loading\":[32]}],[1,\"zonos-cart-restricted-items\",{\"hide\":[4],\"errorImages\":[32],\"internalCollapsed\":[32],\"firstRender\":[32]}],[1,\"zonos-checkout-finish\",{\"borderRadius\":[1,\"border-radius\"],\"storybookForceStatus\":[1,\"storybook-force-status\"],\"overrideNotification\":[16],\"isLoading\":[32],\"notificationType\":[32],\"notificationTitle\":[32],\"notificationMessages\":[32],\"notificationActionText\":[32],\"order\":[32]}],[1,\"zonos-confirm-dialog\",{\"dialogTitle\":[1,\"dialog-title\"],\"dialogIntent\":[1,\"dialog-intent\"],\"dialogSubtitle\":[1,\"dialog-subtitle\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"dialogConfirmBtnText\":[1,\"dialog-confirm-btn-text\"],\"dialogWidth\":[2,\"dialog-width\"],\"dialogCancelBtnText\":[1,\"dialog-cancel-btn-text\"],\"dialogType\":[1,\"dialog-type\"],\"isMobile\":[4,\"is-mobile\"],\"dialogOpen\":[4,\"dialog-open\"],\"noClickOutside\":[4,\"no-click-outside\"]},[[4,\"keydown\",\"handleKeyDown\"]]],[1,\"zonos-checkout-progress-tabs\",{\"tabColor\":[1,\"tab-color\"],\"backgroundColor\":[1,\"background-color\"],\"setTabItems\":[64],\"setTabSelected\":[64]}],[1,\"zonos-review\",{\"mobile\":[4],\"collapsed\":[4],\"isMobile\":[32]},[[9,\"resize\",\"handleWindowResize\"]]],[1,\"zonos-cart-items\",{\"errorImages\":[32]}],[1,\"zonos-currency-toggle\",{\"errorImages\":[32]}],[1,\"zonos-rest-state\",{\"restStateSubtitle\":[1,\"rest-state-subtitle\"],\"restStateTitle\":[1,\"rest-state-title\"],\"restStateType\":[1,\"rest-state-type\"],\"isErrorImageLoad\":[32]}]]]]"), options);
11
+ return index.bootstrapLazy(JSON.parse("[[\"zonos-checkout.cjs\",[[2,\"zonos-checkout\",{\"appearanceSettingsOverride\":[16],\"preview\":[4],\"mobile\":[4],\"defaultAddress\":[16],\"forceDialogOpen\":[4,\"force-dialog-open\"],\"open\":[32],\"stripe\":[32],\"submitLoading\":[32],\"collapseReviewMobile\":[32],\"isAttachError\":[32],\"isMobile\":[32],\"isIframed\":[32],\"zonosReviewRef\":[32],\"storybookPaymentStatusOverride\":[32],\"isLegacyCheckout\":[32],\"confirmDialogOpen\":[32],\"inventoryCheckErrorMessage\":[32],\"placedOrderInfo\":[32],\"closeDialogHandler\":[64],\"init\":[64],\"setToFinishStep\":[64],\"mockCheckoutSession\":[64]},[[16,\"zonos--init-cart-info\",\"initCartInfoHandler\"],[4,\"keydown\",\"handleKeyPress\"],[9,\"resize\",\"handleWindowResize\"]],{\"appearanceSettingsOverride\":[\"appearanceSettingsOverrideChanged\",\"handleAppearanceSettingsOverrideChange\"],\"mobile\":[\"handleMobileChange\"],\"defaultAddress\":[\"handleAddressChange\"]}]]],[\"zonos-hello.cjs\",[[1,\"zonos-hello\",{\"mobileLocationOverride\":[1,\"mobile-location-override\"],\"animateFromLeftOverride\":[4,\"animate-from-left-override\"],\"appearanceSettingsOverride\":[16],\"showPeekMessage\":[32],\"zonosStoreHelloSettings\":[32],\"showDialog\":[32],\"peekMessage\":[32],\"initialUrl\":[32],\"allRestrictedItems\":[32],\"allFoundProducts\":[32],\"productsOnPage\":[32],\"isHelloWidgetRendered\":[32],\"isMobile\":[32],\"getCountryList\":[64],\"displayCurrency\":[64],\"convertAndFormat\":[64],\"convert\":[64],\"format\":[64],\"openHelloDialog\":[64]},[[9,\"resize\",\"handleResize\"]],{\"appearanceSettingsOverride\":[\"handleAppearanceSettingsOverrideChange\"]}]]],[\"zonos-controller.cjs\",[[1,\"zonos-controller\",{\"config\":[16],\"zonosApiKey\":[1,\"zonos-api-key\"],\"initCheckoutElement\":[64],\"setupGoogleFont\":[64],\"showNotification\":[64],\"reset\":[64],\"overrideConfig\":[64],\"overrideCountry\":[64],\"getAppearanceSetting\":[64],\"updateOrganizationName\":[64]},[[8,\"locationchange\",\"handleLocationChange\"]]]]],[\"zonos-tooltip.cjs\",[[1,\"zonos-tooltip\",{\"label\":[1],\"subtitle\":[1],\"showTooltip\":[32]}]]],[\"zonos-component.cjs\",[[1,\"zonos-component\",{\"first\":[1],\"middle\":[1],\"last\":[1]}]]],[\"zonos-link.cjs\",[[1,\"zonos-link\",{\"href\":[1],\"rel\":[1],\"target\":[1],\"linkTitle\":[1,\"link-title\"]}]]],[\"zonos-logo.cjs\",[[1,\"zonos-logo\",{\"theme\":[1],\"width\":[1]}]]],[\"zonos-hello-dialog.cjs\",[[1,\"zonos-hello-dialog\",{\"isOpen\":[4,\"is-open\"],\"setIsOpen\":[16],\"mobileLocationOverride\":[1,\"mobile-location-override\"],\"animateFromLeftOverride\":[4,\"animate-from-left-override\"],\"appearanceSettings\":[16],\"restrictedItems\":[16],\"welcomeMessage\":[32],\"showCountrySelect\":[32],\"showLanguageSelect\":[32]},[[4,\"click\",\"globalClickHandler\"]],{\"isOpen\":[\"isOpenHandler\"]}]]],[\"zonos-badge.cjs\",[[1,\"zonos-badge\",{\"bold\":[4],\"badgeColor\":[1,\"badge-color\"],\"icon\":[16],\"iconRight\":[4,\"icon-right\"],\"size\":[1],\"rounded\":[4],\"loading\":[4],\"dismissHandler\":[16]}]]],[\"zonos-shipping-rich-radio.cjs\",[[1,\"zonos-shipping-rich-radio\",{\"items\":[16],\"borderColor\":[1,\"border-color\"],\"borderStyle\":[1,\"border-style\"],\"theme\":[1],\"selectedItem\":[16]}]]],[\"zonos-toggle.cjs\",[[1,\"zonos-toggle\",{\"options\":[16],\"value\":[1]}]]],[\"zonos-collapse.cjs\",[[1,\"zonos-collapse\",{\"collapsed\":[4],\"collapseSize\":[2,\"collapse-size\"],\"height\":[32],\"iframe\":[32]}]]],[\"zonos-card.cjs\",[[1,\"zonos-card\",{\"actions\":[16],\"backgroundColor\":[1,\"background-color\"],\"borderRadius\":[2,\"border-radius\"],\"footerActions\":[16],\"footerContent\":[16],\"footerHeight\":[2,\"footer-height\"],\"label\":[16],\"spacing\":[1]}]]],[\"zonos-input.cjs\",[[1,\"zonos-input\",{\"inputValue\":[1,\"input-value\"],\"inputLabel\":[1,\"input-label\"],\"inputSize\":[1,\"input-size\"],\"isDisabled\":[4,\"is-disabled\"],\"isError\":[4,\"is-error\"],\"inputPlaceholder\":[1,\"input-placeholder\"],\"value\":[32]},null,{\"inputValue\":[\"onInputValueChange\"]}]]],[\"zonos-notification_3.cjs\",[[2,\"zonos-payment\",{\"titleText\":[1,\"title-text\"],\"stripe\":[32],\"stripeElements\":[32]},null,{\"stripeElements\":[\"watchInitStripe\"],\"stripe\":[\"watchInitStripe\"]}],[2,\"zonos-paypal-payment\"],[1,\"zonos-notification\",{\"notificationArray\":[32],\"showNotification\":[64]}]]],[\"zonos-banner.cjs\",[[1,\"zonos-banner\",{\"bannerTitle\":[1,\"banner-title\"],\"intent\":[1],\"hasContent\":[32]}]]],[\"zonos-country-flag.cjs\",[[1,\"zonos-country-flag\",{\"countryCode\":[1,\"country-code\"],\"size\":[2]}]]],[\"zonos-v-stack.cjs\",[[1,\"zonos-v-stack\",{\"spacing\":[2]}]]],[\"zonos-text.cjs\",[[1,\"zonos-text\",{\"textColor\":[1,\"text-color\"],\"size\":[1],\"type\":[1],\"weight\":[2],\"ready\":[32]}]]],[\"zonos-button_3.cjs\",[[17,\"zonos-button\",{\"buttonColor\":[1,\"button-color\"],\"backgroundColor\":[1,\"background-color\"],\"borderStyle\":[1,\"border-style\"],\"isDisabled\":[4,\"is-disabled\"],\"icon\":[16],\"iconRight\":[4,\"icon-right\"],\"size\":[1],\"variant\":[1],\"noBackground\":[4,\"no-background\"],\"withBoxShadow\":[4,\"with-box-shadow\"],\"noPaddingLeft\":[4,\"no-padding-left\"],\"noPaddingRight\":[4,\"no-padding-right\"],\"loading\":[4],\"justifyContent\":[1,\"justify-content\"],\"theme\":[1],\"hasIcon\":[32],\"hasContent\":[32]},[[2,\"click\",\"clickHandler\"]],{\"icon\":[\"iconChangeHandler\"]}],[1,\"zonos-spinner\",{\"size\":[2],\"spinnerColor\":[1,\"spinner-color\"]}],[1,\"zonos-icon\",{\"autoHeight\":[4,\"auto-height\"],\"iconColor\":[1,\"icon-color\"],\"content\":[1],\"size\":[2]}]]],[\"zonos-language-select_2.cjs\",[[1,\"zonos-language-select\",{\"handleOnClose\":[16]}],[1,\"zonos-select-dialog-header\",{\"handleOnClose\":[16],\"label\":[1]}]]],[\"zonos-country-select_4.cjs\",[[1,\"zonos-country-select\",{\"handleOnClose\":[16],\"inputValue\":[32]}],[1,\"zonos-hello-dialog-footer\",{\"appearanceSettings\":[16],\"setShowCountrySelect\":[16],\"setShowLanguageSelect\":[16]}],[1,\"zonos-custom-message\",{\"icon\":[1],\"message\":[1]}],[2,\"zonos-virtual-scroll\",{\"renderItem\":[16],\"itemWidth\":[2,\"item-width\"],\"fallbackItemHeight\":[2,\"fallback-item-height\"],\"itemHeights\":[16],\"container\":[32],\"scrollTop\":[32],\"totalHeight\":[32]},null,{\"itemHeights\":[\"updateTotalHeight\"],\"fallbackItemHeight\":[\"updateTotalHeight\"]}]]],[\"zonos-address_7.cjs\",[[1,\"zonos-address-update-dialog\",{\"continueLoading\":[4,\"continue-loading\"],\"dialogLoading\":[4,\"dialog-loading\"],\"dialogOpen\":[4,\"dialog-open\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"isMobile\":[4,\"is-mobile\"],\"shippingAddress\":[16],\"billingAddress\":[16],\"translatedShippingAddress\":[16],\"translatedBillingAddress\":[16],\"showErrorBanner\":[32],\"translatedShippingAddressState\":[32],\"translatedBillingAddressState\":[32]},null,{\"translatedShippingAddress\":[\"watchTranslatedShippingAddress\"],\"translatedBillingAddress\":[\"watchTranslatedBillingAddress\"]}],[2,\"zonos-address\",{\"type\":[1],\"titleText\":[1,\"title-text\"],\"defaultAddress\":[16],\"stripe\":[32],\"isDirtyAddress\":[32]},null,{\"stripe\":[\"watchInitStripe\"]}],[1,\"zonos-checkbox\",{\"backgroundColor\":[1,\"background-color\"],\"label\":[1],\"isChecked\":[4,\"is-checked\"],\"isDisabled\":[4,\"is-disabled\"],\"size\":[2],\"fontSize\":[1,\"font-size\"],\"borderStyle\":[1,\"border-style\"]},[[1,\"click\",\"onClick\"]]],[2,\"zonos-link-authentication\",{\"titleText\":[1,\"title-text\"],\"defaultEmail\":[1,\"default-email\"],\"isEmailError\":[4,\"is-email-error\"],\"stripe\":[32]},null,{\"stripe\":[\"watchInitStripe\"]}],[1,\"zonos-dialog\",{\"open\":[4],\"headerText\":[1,\"header-text\"],\"width\":[1],\"height\":[1],\"minHeight\":[1,\"min-height\"],\"noHeader\":[4,\"no-header\"],\"noBodyPadding\":[4,\"no-body-padding\"],\"noBorder\":[4,\"no-border\"],\"borderStyle\":[1,\"border-style\"],\"noCloseButton\":[4,\"no-close-button\"],\"noClickOutside\":[4,\"no-click-outside\"],\"mobile\":[4],\"isLoading\":[4,\"is-loading\"],\"isMobile\":[32]},[[9,\"resize\",\"handleWindowResize\"],[4,\"keydown\",\"handleKeyDown\"]]],[1,\"zonos-address-display\",{\"currentAddress\":[16],\"addressType\":[1,\"address-type\"]}],[1,\"zonos-address-form\",{\"currentAddress\":[16],\"translatedAddress\":[16],\"addressType\":[1,\"address-type\"],\"localAddress\":[32]},null,{\"translatedAddress\":[\"watchCurrentAddress\"]}]]],[\"zonos-cart-items_13.cjs\",[[2,\"zonos-customer-info\",{\"continueLoading\":[4,\"continue-loading\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"isMobile\":[4,\"is-mobile\"],\"defaultAddress\":[16],\"showErrorBanner\":[32],\"shippingCountry\":[32],\"isCheckingForRestrictedItems\":[32],\"isValidatingAddress\":[32],\"invalidShippingCharacterList\":[32],\"invalidBillingCharacterList\":[32],\"openAddressValidationDialog\":[32],\"isEmailError\":[32]}],[2,\"zonos-checkout-payment\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"showErrorBanner\":[32]}],[1,\"zonos-checkout-footer\",{\"mobile\":[4],\"dataTheme\":[1,\"data-theme\"],\"showLanguageDialog\":[32],\"isMobile\":[32]},[[4,\"click\",\"handleGlobalClick\"]],{\"mobile\":[\"handleMobileChange\"]}],[2,\"zonos-shipping\",{\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"selectedShippingMethod\":[32],\"collapsedDAPOptions\":[32],\"isSelecting\":[32],\"showErrorBanner\":[32],\"serviceLevelsDDP\":[32],\"serviceLevelsDAP\":[32],\"serviceLevelsOther\":[32],\"serviceLevelsAll\":[32],\"displayBaseCurrency\":[32]}],[1,\"zonos-cart-subtotal\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"loading\":[32]}],[1,\"zonos-cart-restricted-items\",{\"hide\":[4],\"errorImages\":[32],\"internalCollapsed\":[32],\"firstRender\":[32]}],[1,\"zonos-checkout-finish\",{\"borderRadius\":[1,\"border-radius\"],\"storybookForceStatus\":[1,\"storybook-force-status\"],\"overrideNotification\":[16],\"isLoading\":[32],\"notificationType\":[32],\"notificationTitle\":[32],\"notificationMessages\":[32],\"notificationActionText\":[32],\"order\":[32]}],[1,\"zonos-confirm-dialog\",{\"dialogTitle\":[1,\"dialog-title\"],\"dialogIntent\":[1,\"dialog-intent\"],\"dialogSubtitle\":[1,\"dialog-subtitle\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"dialogConfirmBtnText\":[1,\"dialog-confirm-btn-text\"],\"dialogWidth\":[2,\"dialog-width\"],\"dialogCancelBtnText\":[1,\"dialog-cancel-btn-text\"],\"dialogType\":[1,\"dialog-type\"],\"isMobile\":[4,\"is-mobile\"],\"dialogOpen\":[4,\"dialog-open\"],\"noClickOutside\":[4,\"no-click-outside\"]},[[4,\"keydown\",\"handleKeyDown\"]]],[1,\"zonos-checkout-progress-tabs\",{\"tabColor\":[1,\"tab-color\"],\"backgroundColor\":[1,\"background-color\"],\"setTabItems\":[64],\"setTabSelected\":[64]}],[1,\"zonos-review\",{\"mobile\":[4],\"collapsed\":[4],\"isMobile\":[32]},[[9,\"resize\",\"handleWindowResize\"]]],[1,\"zonos-cart-items\",{\"errorImages\":[32]}],[1,\"zonos-currency-toggle\",{\"errorImages\":[32]}],[1,\"zonos-rest-state\",{\"restStateSubtitle\":[1,\"rest-state-subtitle\"],\"restStateTitle\":[1,\"rest-state-title\"],\"restStateType\":[1,\"rest-state-type\"],\"isErrorImageLoad\":[32]}]]]]"), options);
12
12
  };
13
13
 
14
14
  exports.setNonce = index.setNonce;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const zonosStore = require('./zonosStore-e12d459c.js');
4
- const cart = require('./cart-a2a94f35.js');
4
+ const cart = require('./cart-7e5608b4.js');
5
5
  const handleFetch = require('./handleFetch-fa0ce321.js');
6
6
  const isDarkColor = require('./isDarkColor-d206c6fa.js');
7
7
 
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * Filter out all of the undefined values from the object so we don't have undefined css variable values
5
+ */
6
+ const styles = (props) => {
7
+ // loop through the object and filter out all of the underfined values
8
+ return Object.entries(props).reduce((acc, [key, value]) => {
9
+ if (value) {
10
+ acc[key] = value;
11
+ }
12
+ return acc;
13
+ }, {});
14
+ };
15
+
16
+ exports.styles = styles;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-a2a94f35.js');
6
+ const cart = require('./cart-7e5608b4.js');
7
7
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
8
8
  const handleFetch = require('./handleFetch-fa0ce321.js');
9
9
  const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
@@ -543,14 +543,16 @@ const ZonosDialog = class {
543
543
  };
544
544
  ZonosDialog.style = ZonosDialogStyle0;
545
545
 
546
- const zonosLinkAuthenticationCss = ".sc-zonos-link-authentication-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-link-authentication-h *.sc-zonos-link-authentication{font-family:var(--font-family, Inter), Inter}.sc-zonos-link-authentication-h img.sc-zonos-link-authentication{max-width:100%}.sc-zonos-link-authentication-h dl.sc-zonos-link-authentication,.sc-zonos-link-authentication-h dd.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h1.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h2.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h3.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h4.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h5.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h6.sc-zonos-link-authentication,.sc-zonos-link-authentication-h hr.sc-zonos-link-authentication,.sc-zonos-link-authentication-h figure.sc-zonos-link-authentication,.sc-zonos-link-authentication-h p.sc-zonos-link-authentication,.sc-zonos-link-authentication-h pre.sc-zonos-link-authentication{margin:0}.sc-zonos-link-authentication-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-link-authentication-h .zonos--title.sc-zonos-link-authentication{margin-bottom:16px}";
546
+ const zonosLinkAuthenticationCss = ".sc-zonos-link-authentication-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-link-authentication-h *.sc-zonos-link-authentication{font-family:var(--font-family, Inter), Inter}.sc-zonos-link-authentication-h img.sc-zonos-link-authentication{max-width:100%}.sc-zonos-link-authentication-h dl.sc-zonos-link-authentication,.sc-zonos-link-authentication-h dd.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h1.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h2.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h3.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h4.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h5.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h6.sc-zonos-link-authentication,.sc-zonos-link-authentication-h hr.sc-zonos-link-authentication,.sc-zonos-link-authentication-h figure.sc-zonos-link-authentication,.sc-zonos-link-authentication-h p.sc-zonos-link-authentication,.sc-zonos-link-authentication-h pre.sc-zonos-link-authentication{margin:0}.sc-zonos-link-authentication-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-link-authentication-h .zonos--title.sc-zonos-link-authentication{margin-bottom:16px}.sc-zonos-link-authentication-h .zonos--input-invalid.sc-zonos-link-authentication{border:2px solid var(--zonos-elements-red-600);border-radius:var(--zonos--border-radius)}";
547
547
  const ZonosLinkAuthenticationStyle0 = zonosLinkAuthenticationCss;
548
548
 
549
549
  const ZonosLinkAuthentication = class {
550
550
  constructor(hostRef) {
551
551
  index.registerInstance(this, hostRef);
552
+ this.linkAuthenticationChange = index.createEvent(this, "linkAuthenticationChange", 7);
552
553
  this.titleText = undefined;
553
554
  this.defaultEmail = null;
555
+ this.isEmailError = false;
554
556
  this.stripe = cart.stripeStore.stripe;
555
557
  }
556
558
  watchInitStripe() {
@@ -574,7 +576,9 @@ const ZonosLinkAuthentication = class {
574
576
  }
575
577
  linkAuthenticationElement.mount(linkAuthenticationElementContainer);
576
578
  linkAuthenticationElement.on('change', event => {
579
+ var _a;
577
580
  cart.stripeStore.stripeLinkEventData = event;
581
+ (_a = this.linkAuthenticationChange) === null || _a === void 0 ? void 0 : _a.emit();
578
582
  });
579
583
  cart.stripeStore.stripeLinkElement = linkAuthenticationElement;
580
584
  }
@@ -584,7 +588,9 @@ const ZonosLinkAuthentication = class {
584
588
  }
585
589
  render() {
586
590
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
587
- return (index.h(index.Host, { key: 'f0b26abf99ef99c6665dabdddebc9ff086b6816c', class: "zonos--link-authentication zonos--elements" }, index.h("zonos-text", { key: '898dbdffac06fe2a68af90610a22044bb72391ce', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), index.h("div", { key: 'e2ec9abb0cf76a39a1262e1366e375dd898450cd', class: "zonos--link-authentication-component" })));
591
+ return (index.h(index.Host, { key: '7950960b06faca8192a2132d8543013a99a0e5ba', class: "zonos--link-authentication zonos--elements", style: {
592
+ '--zonos--border-radius': getBorderRadius.getBorderRadius(),
593
+ } }, index.h("zonos-text", { key: '1f8f7f96e39f0d0c0b4012846b27fef994aa9db1', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), index.h("div", { key: '4b6b2471fe7254cea24b628284451bd46146f001', class: `zonos--link-authentication-component ${this.isEmailError && 'zonos--input-invalid'}` }), this.isEmailError && (index.h("zonos-text", { key: '3d55092ae5c569641c0ae915e63abe005f362207', textColor: "red-600" }, cart.translate('Please enter a valid email address.')))));
588
594
  }
589
595
  get el() { return index.getElement(this); }
590
596
  static get watchers() { return {
@@ -8,6 +8,7 @@ const classes = require('./classes-b7918f56.js');
8
8
  const getBorderRadius = require('./getBorderRadius-61ed5601.js');
9
9
  const isColorVariable = require('./isColorVariable-6f5a9608.js');
10
10
  const isDarkColor = require('./isDarkColor-d206c6fa.js');
11
+ const styles = require('./styles-d1e64fb9.js');
11
12
 
12
13
  /**
13
14
  * Get theme for button text based on background color
@@ -28,19 +29,6 @@ const isElementUsingDarkTheme = (element) => isDarkColor.isDarkColor(window
28
29
  .getComputedStyle(element)
29
30
  .getPropertyValue('--zonos-elements-gray-0'));
30
31
 
31
- /**
32
- * Filter out all of the undefined values from the object so we don't have undefined css variable values
33
- */
34
- const styles = (props) => {
35
- // loop through the object and filter out all of the underfined values
36
- return Object.entries(props).reduce((acc, [key, value]) => {
37
- if (value) {
38
- acc[key] = value;
39
- }
40
- return acc;
41
- }, {});
42
- };
43
-
44
32
  const zonosButtonCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex;border-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--spinner-wrapper{position:absolute;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--zonos-elements-surface-color);-ms-flex-pack:center;justify-content:center;border-radius:var(--zonos-elements-radius-10);gap:8px}:host button{width:100%;position:relative;font-size:14px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--zonos-elements-surface-color);border:none;outline:1px solid var(--zonos-elements-surface-color);border-radius:var(--border-radius, var(--zonos-elements-radius-10));-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);font-weight:500;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-family:var(--font-family, Inter), Inter;letter-spacing:normal;cursor:pointer;white-space:nowrap;padding:8px 24px;color:var(--color, var(--zonos-elements-gray-1000));margin:1px;}:host button:not([disabled]):hover{background-image:var(--zonos-elements-button-standard-hover)}:host button:not([disabled]):active{background:var(--zonos-elements-gray-700)}:host button:not([disabled]):focus{-webkit-box-shadow:var(--zonos-elements-focus-button);box-shadow:var(--zonos-elements-focus-button)}:host button.with-box-shadow{-webkit-box-shadow:var(--zonos-elements-shadow-button-standard);box-shadow:var(--zonos-elements-shadow-button-standard)}:host button.sm.no-background,:host button.md.no-background,:host button.lg.no-background{background:none;outline:none}:host button.sm.no-padding-left,:host button.md.no-padding-left,:host button.lg.no-padding-left{padding-left:0}:host button.sm.no-padding-right,:host button.md.no-padding-right,:host button.lg.no-padding-right{padding-right:0}:host button[disabled]{cursor:not-allowed;background-color:var(--background-color, var(--zonos-elements-gray-200))}:host button[disabled] .zonos--spinner-wrapper{background-color:var(--background-color, var(--zonos-elements-gray-200))}:host button:active{-webkit-transform:scale(0.99);transform:scale(0.99)}:host button.sm{height:var(--zonos-elements-size-sm);line-height:var(--zonos-elements-size-sm);padding:4px 8px}:host button.sm:not(.has-content).has-icon{padding:0 4px}:host button.md{height:var(--zonos-elements-size-md);line-height:var(--zonos-elements-size-md);padding:8px 16px}:host button.md:not(.has-content).has-icon{padding:0 8px}:host button.lg{height:var(--zonos-elements-size-lg);line-height:var(--zonos-elements-size-lg);padding:12px 24px}:host button.lg:not(.has-content).has-icon{padding:0 16px}:host button:not(.only-icon).has-icon{gap:8px}@media (max-width: 400px){:host button:not(.only-icon).has-icon{font-size:var(--zonos-elements-font-size-s)}}:host button.override-background{background-color:var(--background-color, var(--zonos-elements-gray-0));color:var(--color, var(--zonos-elements-gray-1000));outline:1px solid var(--background-color, var(--zonos-elements-gray-0))}:host button.override-background:disabled{opacity:0.8}:host button.override-background:not(:disabled):hover{opacity:0.9}:host button:not(.override-background){}:host button:not(.override-background).primary{background:var(--zonos-elements-blue-600);outline:1px solid var(--zonos-elements-blue-600);color:var(--zonos-elements-gray-0)}:host button:not(.override-background).primary:not([disabled]):hover{background-image:var(--zonos-elements-button-primary-hover)}:host button:not(.override-background).primary:not([disabled]):active{background:var(--zonos-elements-blue-700)}:host button:not(.override-background).primary:not([disabled]):focus{-webkit-box-shadow:var(--zonos-elements-focus-button);box-shadow:var(--zonos-elements-focus-button)}:host button:not(.override-background).primary[disabled]{background:var(--zonos-elements-blue-400)}:host button:not(.override-background).primary[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-blue-400)}:host button:not(.override-background).primary .zonos--spinner-wrapper{background-color:var(--zonos-elements-blue-600)}:host button:not(.override-background).success{background:var(--zonos-elements-green-600);outline:1px solid var(--zonos-elements-green-600);color:var(--zonos-elements-gray-0)}:host button:not(.override-background).success:not([disabled]):hover{background-image:var(--zonos-elements-button-success-hover)}:host button:not(.override-background).success:not([disabled]):active{background:var(--zonos-elements-green-700)}:host button:not(.override-background).success:not([disabled]):focus{-webkit-box-shadow:var(--zonos-elements-focus-button);box-shadow:var(--zonos-elements-focus-button)}:host button:not(.override-background).success[disabled]{background:var(--zonos-elements-green-400)}:host button:not(.override-background).success[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-green-400)}:host button:not(.override-background).danger{background:var(--zonos-elements-red-600);outline:1px solid var(--zonos-elements-red-600);color:var(--zonos-elements-gray-0)}:host button:not(.override-background).danger:not([disabled]):hover{background-image:var(--zonos-elements-button-danger-hover)}:host button:not(.override-background).danger:not([disabled]):active{background:var(--zonos-elements-red-700)}:host button:not(.override-background).danger:not([disabled]):focus{-webkit-box-shadow:var(--zonos-elements-focus-button);box-shadow:var(--zonos-elements-focus-button)}:host button:not(.override-background).danger[disabled]{background:var(--zonos-elements-red-400)}:host button:not(.override-background).danger[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-red-400)}:host button:not(.override-background).warning{background:var(--zonos-elements-orange-600);outline:1px solid var(--zonos-elements-orange-600);color:var(--zonos-elements-gray-0)}:host button:not(.override-background).warning:not([disabled]):hover{background-image:var(--zonos-elements-button-warning-hover)}:host button:not(.override-background).warning:not([disabled]):active{background:var(--zonos-elements-orange-700)}:host button:not(.override-background).warning:not([disabled]):focus{-webkit-box-shadow:var(--zonos-elements-focus-button);box-shadow:var(--zonos-elements-focus-button)}:host button:not(.override-background).warning[disabled]{background:var(--zonos-elements-orange-400)}:host button:not(.override-background).warning[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-orange-400)}:host button:not(.override-background).subtle{background:transparent;color:var(--color);outline:none}:host button:not(.override-background).subtle:not([disabled]):hover{background:var(--zonos-elements-gray-900)}:host button:not(.override-background).subtle:not([disabled]):active{background:var(--zonos-elements-gray-800)}:host button:not(.override-background).subtle:not([disabled]).dark-hover-subtle:hover{background:var(--zonos-elements-gray-100)}:host button:not(.override-background).subtle:not([disabled]).dark-hover-subtle:active{background:var(--zonos-elements-gray-200)}:host button:not(.override-background).subtle:focus{-webkit-box-shadow:var(--zonos-elements-button-focus-ring);box-shadow:var(--zonos-elements-button-focus-ring)}:host button:not(.override-background).subtle[disabled] .content{opacity:0.6}:host button:not(.override-background).subtle[disabled] .zonos--spinner-wrapper{background-color:var(--zonos-elements-gray-0)}:host button:not(.override-background).outline{background:transparent;outline:1px solid var(--zonos-elements-gray-700)}:host button:not(.override-background).outline:not([disabled]):hover{background-color:var(--zonos-elements-gray-100)}:host button:not(.override-background).outline:not([disabled]):active{background:var(--zonos-elements-gray-200)}:host .zonos--footer-country-flag{height:18px;width:18px;position:relative;overflow:hidden;border-radius:30px;-webkit-box-shadow:var(--zonos-elements-v3-shadow-medium);box-shadow:var(--zonos-elements-v3-shadow-medium);z-index:10;justify-self:center;border-radius:var(--zonos-elements-radius-4);width:24px}";
45
33
  const ZonosButtonStyle0 = zonosButtonCss;
46
34
 
@@ -159,7 +147,7 @@ const ZonosButton = class {
159
147
  const borderStyle = getBorderRadius.getBorderRadius({
160
148
  overrideBorderStyle: this.borderStyle,
161
149
  });
162
- return (index.h(index.Host, { key: 'd35c2874d343aa93b38cb40cbe8cdeb5c77bb97c', class: classes.classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
150
+ return (index.h(index.Host, { key: 'd35c2874d343aa93b38cb40cbe8cdeb5c77bb97c', class: classes.classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles.styles({
163
151
  '--background-color': backgroundColor,
164
152
  '--border-radius': borderStyle,
165
153
  '--color': color,
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-a2a94f35.js');
6
+ const cart = require('./cart-7e5608b4.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const paypal = require('./paypal-bf7d3c50.js');
8
+ const paypal = require('./paypal-4c479f19.js');
9
9
  const zonosStore = require('./zonosStore-e12d459c.js');
10
10
  const createCustomEvent = require('./createCustomEvent-3e982e57.js');
11
11
  const getBorderRadius = require('./getBorderRadius-61ed5601.js');
@@ -2032,6 +2032,7 @@ const ZonosCustomerInfo = class {
2032
2032
  void cart.trackConversionEvent('checkout_customerInfoCompleted');
2033
2033
  };
2034
2034
  this.handleValidate = () => {
2035
+ var _a, _b;
2035
2036
  const stripeShippingAddressEventData = cart.stripeStore.stripeAddressEventData;
2036
2037
  const stripeBillingAddressEventData = cart.stripeStore.stripeBillingAddressEventData;
2037
2038
  const stripeLinkEventData = cart.stripeStore.stripeLinkEventData;
@@ -2041,11 +2042,26 @@ const ZonosCustomerInfo = class {
2041
2042
  : !!(stripeBillingAddressEventData === null || stripeBillingAddressEventData === void 0 ? void 0 : stripeBillingAddressEventData.complete);
2042
2043
  const isValidShipping = !!(stripeShippingAddressEventData === null || stripeShippingAddressEventData === void 0 ? void 0 : stripeShippingAddressEventData.complete);
2043
2044
  const isValidLink = !!(stripeLinkEventData === null || stripeLinkEventData === void 0 ? void 0 : stripeLinkEventData.complete);
2045
+ // display errors on fields that are invalid
2046
+ void ((_a = cart.stripeStore.stripeAddressElement) === null || _a === void 0 ? void 0 : _a.getValue());
2047
+ void ((_b = cart.stripeStore.stripeBillingAddressElement) === null || _b === void 0 ? void 0 : _b.getValue());
2048
+ if (!isValidLink && (stripeLinkEventData === null || stripeLinkEventData === void 0 ? void 0 : stripeLinkEventData.empty)) {
2049
+ this.isEmailError = true;
2050
+ }
2044
2051
  if (!isValidBilling || !isValidShipping || !isValidLink) {
2045
2052
  return false;
2046
2053
  }
2047
2054
  return true;
2048
2055
  };
2056
+ this.handleEmailValidation = () => {
2057
+ var _a;
2058
+ if (!this.isEmailError) {
2059
+ return;
2060
+ }
2061
+ if (!((_a = cart.stripeStore.stripeLinkEventData) === null || _a === void 0 ? void 0 : _a.empty)) {
2062
+ this.isEmailError = false;
2063
+ }
2064
+ };
2049
2065
  this.prepareAddressObject = (stripeAddressEventData) => {
2050
2066
  var _a;
2051
2067
  const addressValue = stripeAddressEventData.value;
@@ -2073,6 +2089,7 @@ const ZonosCustomerInfo = class {
2073
2089
  this.invalidShippingCharacterList = null;
2074
2090
  this.invalidBillingCharacterList = null;
2075
2091
  this.openAddressValidationDialog = false;
2092
+ this.isEmailError = false;
2076
2093
  }
2077
2094
  checkInvalidCharacters(address) {
2078
2095
  if (!address) {
@@ -2123,7 +2140,7 @@ const ZonosCustomerInfo = class {
2123
2140
  if (this.showErrorBanner) {
2124
2141
  this.showErrorBanner = !this.handleValidate();
2125
2142
  }
2126
- return (index.h(index.Host, { class: "zonos--customer-info zonos--elements" }, index.h("div", { class: "zonos--group" }, index.h("zonos-text", { class: "zonos--title", type: "semiBoldSubheader" }, cart.translate('Customer information')), this.showErrorBanner && (index.h("zonos-banner", { class: "zonos--error-banner", intent: "error" }, cart.translate('Missing required fields. Make sure all fields are completed.'))), index.h("zonos-link-authentication", { defaultEmail: (_b = this.defaultAddress) === null || _b === void 0 ? void 0 : _b.email, titleText: cart.translate('Contact') }), index.h("zonos-address", { defaultAddress: this.defaultAddress, titleText: cart.translate('Address'), type: "shipping" }), index.h("zonos-checkbox", { class: "zonos--shipping-same-as-billing-cbx", isChecked: cart.stripeStore.stripeShippingSameAsBilling, label: cart.translate('Shipping address same as billing'), onCheckboxSelected: e => {
2143
+ return (index.h(index.Host, { class: "zonos--customer-info zonos--elements" }, index.h("div", { class: "zonos--group" }, index.h("zonos-text", { class: "zonos--title", type: "semiBoldSubheader" }, cart.translate('Customer information')), this.showErrorBanner && (index.h("zonos-banner", { class: "zonos--error-banner", intent: "error" }, cart.translate('Missing required fields. Make sure all fields are completed.'))), index.h("zonos-link-authentication", { defaultEmail: (_b = this.defaultAddress) === null || _b === void 0 ? void 0 : _b.email, isEmailError: this.isEmailError, onLinkAuthenticationChange: this.handleEmailValidation, titleText: cart.translate('Contact') }), index.h("zonos-address", { defaultAddress: this.defaultAddress, titleText: cart.translate('Address'), type: "shipping" }), index.h("zonos-checkbox", { class: "zonos--shipping-same-as-billing-cbx", isChecked: cart.stripeStore.stripeShippingSameAsBilling, label: cart.translate('Shipping address same as billing'), onCheckboxSelected: e => {
2127
2144
  cart.stripeStore.stripeShippingSameAsBilling = e.detail;
2128
2145
  } }), index.h("zonos-collapse", { collapsed: !showBilling }, index.h("zonos-address", { defaultAddress: this.defaultAddress, titleText: cart.translate('Billing address'), type: "billing" })), index.h("div", { class: "zonos--group-btn" }, index.h("zonos-button", { backgroundColor: this.submitBtnColor, loading: this.continueLoading, onClick: () => this.continueClickHandler(), size: "lg",
2129
2146
  // use primary type when on mobile mode
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-a2a94f35.js');
7
- const paypal = require('./paypal-bf7d3c50.js');
6
+ const cart = require('./cart-7e5608b4.js');
7
+ const paypal = require('./paypal-4c479f19.js');
8
8
  const zonosStore = require('./zonosStore-e12d459c.js');
9
9
  const handleFetch = require('./handleFetch-fa0ce321.js');
10
10
  const createCustomEvent = require('./createCustomEvent-3e982e57.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-a2a94f35.js');
6
+ const cart = require('./cart-7e5608b4.js');
7
7
  const zonosStore = require('./zonosStore-e12d459c.js');
8
8
  const handleFetch = require('./handleFetch-fa0ce321.js');
9
9
  require('./isDarkColor-d206c6fa.js');
@@ -206,13 +206,15 @@ const ZonosController = class {
206
206
  searchParams.set('family', fontSelected);
207
207
  const { errors, json } = await handleFetch.handleFetch(`/api/zonos-elements/get-font-detail?${searchParams.toString()}`);
208
208
  // Keep using Inter font, font in the setting maybe outdated and not found in google font, API will return Inter font instead
209
- if (errors.length > 0 || !(json === null || json === void 0 ? void 0 : json.fontUrl)) {
209
+ if (errors.length > 0) {
210
210
  handleFetch.log(`Failed to load font ${fontSelected}`, 'warn');
211
211
  zonosStore.zonosStore.appearance = Object.assign(Object.assign({}, zonosStore.zonosStore.appearance), { fontFamily: 'Inter' });
212
212
  return;
213
213
  }
214
- const fontUrl = json.fontUrl;
215
- (_b = (_a = window.Zonos).injectSupportGoogleFont) === null || _b === void 0 ? void 0 : _b.call(_a, fontUrl);
214
+ const fontUrl = json === null || json === void 0 ? void 0 : json.fontUrl;
215
+ if (fontUrl) {
216
+ (_b = (_a = window.Zonos).injectSupportGoogleFont) === null || _b === void 0 ? void 0 : _b.call(_a, fontUrl);
217
+ }
216
218
  if (!overrideFont) {
217
219
  return;
218
220
  }
@@ -355,7 +357,7 @@ const ZonosController = class {
355
357
  zonosStore.zonosStore.organizationName = organizationName;
356
358
  }
357
359
  render() {
358
- return index.h(index.Host, { key: '8e6c4a23893a1d3913d996a62bd14fd000612e42', class: "zonos--elements" });
360
+ return index.h(index.Host, { key: '20b7c1424c04dcf837b80edf57a3e8d74d1d230a', class: "zonos--elements" });
359
361
  }
360
362
  };
361
363
  ZonosController.style = ZonosControllerStyle0;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-a2a94f35.js');
6
+ const cart = require('./cart-7e5608b4.js');
7
7
  const zonosStore = require('./zonosStore-e12d459c.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  require('./handleFetch-fa0ce321.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-a2a94f35.js');
6
+ const cart = require('./cart-7e5608b4.js');
7
7
  const zonosStore = require('./zonosStore-e12d459c.js');
8
8
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
9
9
  const isDarkColor = require('./isDarkColor-d206c6fa.js');